/* THE FACTORY shared header menu and footer (step 6.48) */
.tfgear{display:inline-flex!important;align-items:center;justify-content:center;width:34px;height:34px;padding:0!important;border-radius:50%!important;cursor:pointer;color:#8391a8;background:rgba(8,12,19,.6);border:1px solid rgba(255,255,255,.12)}
.tfgear:hover,.tfgear[aria-expanded=true]{color:#e6edf6;border-color:#3fe0d0}
.tfgear svg{width:17px;height:17px}
.tfmenu{position:fixed;right:10px;top:calc(var(--hd,48px) + env(safe-area-inset-top) + 6px);z-index:90;min-width:190px;background:#0a101b;border:1px solid #1b2740;border-radius:12px;padding:6px;display:flex;flex-direction:column;box-shadow:0 12px 32px rgba(0,0,0,.55)}
.tfmenu[hidden]{display:none}
.tfmenu a{color:#e6edf6;text-decoration:none;padding:10px 12px;border-radius:8px;font:13px/1.2 Sora,system-ui,sans-serif;letter-spacing:0;text-transform:none;cursor:pointer}
.tfmenu a:hover{background:#0e1626}
.tfx-foot{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:0 18px;min-height:38px;border-top:1px solid rgba(255,255,255,.06);background:rgba(7,7,10,.85);color:#8391a8;font:10px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em}
.tfx-foot .fl{flex:none;white-space:nowrap}
.tfx-foot .fcr{min-width:0;overflow-x:auto;white-space:nowrap;text-align:right;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tfx-foot .fcr::-webkit-scrollbar{display:none}
@media (max-width:819px){.headcta,#dlBtn{display:none!important}.tfx-foot{padding:0 10px}}

footer.tfx-foot{flex-wrap:nowrap!important;padding:0 12px}
