/* WILT phone tab bar (includes/mobilenav.php). Phones only; nothing shows above 719px. */
.wfmn{display:none}
@media (max-width:719px){
body.wf-mn{--wfmn-b:calc(74px + env(safe-area-inset-bottom));--wfmn-pb:0px;padding-bottom:calc(var(--wfmn-b) + var(--wfmn-pb))}
html.wfmn-hasctx body.wf-mn{--wfmn-b:calc(126px + env(safe-area-inset-bottom))}
html.wfmn-hide body.wf-mn,html.wfmn-off body.wf-mn{--wfmn-b:0px;--wfmn-pb:env(safe-area-inset-bottom)}
html.wfp-open body.wf-mn{padding-bottom:calc(var(--wfmn-b) + var(--wfmn-pb) + 68px)}
body.wf-mn.wf-no-mobilenav{--wfmn-b:0px;--wfmn-pb:env(safe-area-inset-bottom)}
.wf-mn .wfmn{display:block;font-family:'Share Tech Mono',ui-monospace,monospace}
.wf-no-mobilenav .wfmn{display:none}
.wfmn [hidden]{display:none!important}
.wfmn svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wfmn-bar,.wfmn-ctx{position:fixed;left:8px;right:8px;z-index:9994;transition:transform .22s ease,opacity .22s ease}
.wfmn-bar{bottom:calc(8px + env(safe-area-inset-bottom));height:60px;display:grid;grid-template-columns:repeat(5,1fr);border-radius:20px;background:rgba(14,8,22,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(180,140,255,.28);box-shadow:0 -6px 30px rgba(0,0,0,.45)}
.wfmn-ctx{left:14px;right:14px;bottom:calc(76px + env(safe-area-inset-bottom))}
html.wfmn-hide .wfmn-bar,html.wfmn-off .wfmn-bar,html.wfmn-hide .wfmn-ctx,html.wfmn-off .wfmn-ctx{transform:translateY(calc(100% + 90px + env(safe-area-inset-bottom)));opacity:0;pointer-events:none}
html.wfmn-off .wfmn-bar,html.wfmn-off .wfmn-ctx{visibility:hidden}
.wfmn-tab{position:relative;z-index:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:none;color:#a59bb5;font:inherit;font-size:10px;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.wfmn-tab:hover,.wfmn-tab:focus{color:#fff;text-decoration:none}
.wfmn-tab.is-on,.wfmn-more[aria-expanded=true]{color:#fff}
.wfmn-tab.is-on::before,.wfmn-more[aria-expanded=true]::before{content:"";position:absolute;top:6px;left:50%;width:42px;height:28px;margin-left:-21px;border-radius:12px;background:rgba(131,63,221,.38);z-index:-1}
.wfmn-tab:focus-visible,.wfmn-cb:focus-visible,.wfmn-tile:focus-visible,.wfmn-grab:focus-visible,.wfmn-go:focus-visible,.wfmn-scq:focus-visible{outline:2px solid #b48cff;outline-offset:-2px}
.wfmn-badge{position:absolute;top:5px;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#833fdd;color:#fff;font-size:9px;font-weight:400;line-height:16px;text-align:center}
.wfmn-badge:empty{min-width:8px;height:8px;padding:0;top:7px}
.wfmn-more .wfmn-l2,.wfmn-more svg+svg,.wfmn-more[aria-expanded=true] .wfmn-l1,.wfmn-more[aria-expanded=true] svg:first-child{display:none}
.wfmn-more[aria-expanded=true] .wfmn-l2,.wfmn-more[aria-expanded=true] svg+svg{display:block}
.wfmn-row{display:flex;gap:6px}
.wfmn-cb{flex:1 1 0;min-width:0;height:44px;margin:0;padding:0 2px;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:14px;border:1px solid rgba(180,140,255,.28);background:rgba(20,12,31,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;font:inherit;font-size:11px;letter-spacing:.01em;text-transform:uppercase;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
.wfmn-cb:hover,.wfmn-cb:focus{color:#fff;text-decoration:none}
.wfmn-cb svg{width:16px;height:16px;stroke-width:1.8}
.wfmn-cb[data-pri],.wfmn-cb[aria-expanded=true]{background:#833fdd;border-color:#833fdd}
.wfmn-cb span{overflow:hidden;text-overflow:ellipsis}
@media (max-width:374px){.wfmn-ctx .wfmn-cb svg{display:none}}
/* Map / web open: their controls at the bottom. */
.wfmn-ov{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:9999;display:flex;gap:6px}
html.wfmn-ovon .wfsc-gx-panel{padding-bottom:calc(62px + env(safe-area-inset-bottom))}
html.wfmn-ovon .wfsc-holo-panel{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
html.wfmn-ovon .wfsc-gx-tip,html.wfmn-ovon:not(.wfmn-gxg) .wfsc-gx-bar{display:none}
html.wfmn-ovon .wfsc-gx-bar{order:9;padding:6px 8px}
/* More sheet */
.wfmn-dim{position:fixed;inset:0;z-index:9992;background:rgba(0,0,0,.55)}
.wfmn-sheet{position:fixed;left:0;right:0;bottom:0;z-index:9993;max-height:85vh;max-height:85dvh;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:0 14px calc(84px + env(safe-area-inset-bottom));background:#120a1c;color:#ece6f5;border-radius:22px 22px 0 0;border-top:1px solid rgba(180,140,255,.28);box-shadow:0 -12px 40px rgba(0,0,0,.6);animation:wfmn-up .22s ease-out}
.wfmn-sheet:focus{outline:none}
@keyframes wfmn-up{from{transform:translateY(40px);opacity:0}}
html.wfmn-lock,html.wfmn-lock body{overflow:hidden}
.wfmn-grab{display:block;width:100%;height:28px;margin:0 0 4px;padding:0;border:0;background:none;cursor:pointer}
.wfmn-grab i{display:block;width:40px;height:4px;margin:0 auto;border-radius:2px;background:#4a3d5c}
.wfmn-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;margin:-1px;padding:0}
.wfmn-search{display:flex;align-items:center;gap:8px;height:46px;padding:0 4px 0 12px;margin:0 0 6px;border-radius:14px;border:1px solid rgba(180,140,255,.28);background:rgba(255,255,255,.04);color:#a59bb5}
.wfmn-search:focus-within{border-color:#b48cff}
.wfmn-search svg{width:16px;height:16px}
.wfmn-search input{flex:1;min-width:0;height:44px;margin:0;padding:0;border:0!important;background:none!important;box-shadow:none!important;color:#fff;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;outline:none}
.wfmn-search input::placeholder{color:#a59bb5;opacity:1}
.wfmn-go,.wfmn-scq{min-height:38px;margin:0;padding:0 12px;border-radius:10px;border:0;background:#833fdd;color:#fff;font:inherit;font-size:11px;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.wfmn-scq{display:block;width:100%;min-height:44px;margin:0 0 4px;background:rgba(131,63,221,.18);border:1px solid rgba(180,140,255,.28);text-transform:none;letter-spacing:0;font-size:13px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wfmn-slab{margin:12px 2px 6px;color:#a59bb5;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.wfmn-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wfmn-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:64px;padding:10px 4px;border-radius:14px;border:1px solid rgba(180,140,255,.28);background:rgba(20,12,31,.6);color:#ece6f5;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:12px;line-height:1.2;text-align:center;text-decoration:none}
.wfmn-tile:hover,.wfmn-tile:focus{color:#fff;border-color:#b48cff;text-decoration:none}
.wfmn-tile svg{width:20px;height:20px;stroke:#b48cff}
.wfmn-tile[data-mn-who=a]{order:-1}
.wfmn-toast{position:fixed;left:50%;bottom:calc(var(--wfmn-b) + var(--wfmn-pb) + 10px);z-index:9995;max-width:calc(100vw - 32px);margin:0;padding:8px 14px;border-radius:12px;background:#1a1324;border:1px solid rgba(180,140,255,.45);color:#fff;font-size:12px;transform:translateX(-50%);opacity:0;pointer-events:none;transition:opacity .2s}
.wfmn-toast.is-on{opacity:1}
/* Other things fixed at the bottom move up above the bar. */
body.wf-mn .wfp{bottom:var(--wfmn-b);padding-bottom:var(--wfmn-pb);transition:bottom .22s ease}
body.wf-mn .wf-totop{bottom:calc(var(--wfmn-b) + var(--wfmn-pb) + 12px)}
html.wfp-open body.wf-mn .wf-totop{bottom:calc(var(--wfmn-b) + var(--wfmn-pb) + 76px)}
body.wf-mn .wffb-pill{bottom:max(32vh,calc(var(--wfmn-b) + var(--wfmn-pb) + 12px))}
html.wfp-open body.wf-mn .wffb-pill{bottom:max(32vh,calc(var(--wfmn-b) + var(--wfmn-pb) + 76px))}
body.wf-mn .wf-pf-toast,body.wf-mn .wf-msg-toast{bottom:calc(var(--wfmn-b) + var(--wfmn-pb) + 16px)}
}
@media (max-width:719px) and (prefers-reduced-motion:reduce){.wfmn-bar,.wfmn-ctx,body.wf-mn .wfp,.wfmn-toast{transition:none}.wfmn-sheet{animation:none}}
@media print{.wfmn{display:none!important}}
