.zp-mobile-nav { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 20000; overflow: hidden; visibility: hidden; pointer-events: none; font-family: var(--font-base, system-ui, sans-serif); contain: strict; } .zp-mobile-nav[data-state="open"], .zp-mobile-nav[data-state="closing"] { visibility: visible; pointer-events: auto; } .zp-mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s ease; z-index: 1; } .zp-mobile-nav[data-state="open"] .zp-mobile-nav__backdrop { opacity: 1; } .zp-mobile-nav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 420px); height: 100%; background: rgba(10, 10, 10, 0.96); border-left: 1px solid var(--zp-stroke, rgba(255, 255, 255, 0.08)); box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6); z-index: 2; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; box-sizing: border-box; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); will-change: transform; } .zp-mobile-nav[data-state="open"] .zp-mobile-nav__panel { transform: translateX(0); } .zp-mobile-nav__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--zp-stroke, rgba(255, 255, 255, 0.08)); min-height: 60px; box-sizing: border-box; } .zp-mobile-nav__title { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--zp-muted, rgba(235, 233, 223, 0.6)); font-weight: 800; } .zp-mobile-nav__close { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--zp-stroke, rgba(255, 255, 255, 0.1)); color: var(--zp-bone, #ebe9df); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: all 0.2s ease; font-size: 1.25rem; padding: 0; margin: 0; } .zp-mobile-nav__close:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); transform: scale(1.05); } .zp-mobile-nav__close:focus-visible { outline: 2px solid var(--zp-accent, #a4cd02); outline-offset: 2px; } .zp-mobile-nav__content { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 20px 0; -webkit-overflow-scrolling: touch; } .zp-mobile-nav__link { display: flex; align-items: center; padding: 16px 24px; color: var(--zp-bone, rgba(235, 233, 223, 0.8)); text-decoration: none; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; transition: background 0.2s, color 0.2s; border-left: 3px solid transparent; max-width: 100%; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .zp-mobile-nav__link:hover { background: rgba(255, 255, 255, 0.03); color: #fff; } .zp-mobile-nav__link.is-active { color: #fff; background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent); border-left-color: var(--zp-accent, #a4cd02); text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .zp-mobile-nav__link:focus-visible { outline: none; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 2px var(--zp-accent, #a4cd02); } .zp-mobile-nav__footer { padding: 20px 24px; border-top: 1px solid var(--zp-stroke, rgba(255, 255, 255, 0.08)); padding-bottom: max(20px, env(safe-area-inset-bottom)); background: rgba(0, 0, 0, 0.2); } .zp-mobile-nav__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .zp-mobile-nav__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--zp-muted, #999); font-weight: 700; } .zp-mobile-nav__brand-footer { font-size: 0.8rem; color: var(--zp-muted, #888); text-align: center; margin-top: 12px; opacity: 0.6; } .zp-mobile-nav__brand-footer span { color: var(--zp-bone, #fff); font-weight: 700; } @media (prefers-reduced-motion: reduce) { .zp-mobile-nav__backdrop, .zp-mobile-nav__panel { transition: none; } }