/* Shared mobile footer, used across public pages and app shells. */
.links-mobile-footer { display: none; box-sizing: border-box; font-family: Montserrat, "Segoe UI", Arial, sans-serif; }
.links-mobile-footer *, .links-mobile-footer *::before, .links-mobile-footer *::after { box-sizing: border-box; }
@media (max-width: 800px) {
    .modern-footer { display: none; }
    .links-mobile-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px max(14px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); border-top: 1px solid #9ac8dc1c; background: linear-gradient(100deg, #0d1726, #090f1e); }
    .links-mobile-footer-brand { display: flex; flex-direction: column; gap: 5px; color: #edf5ff; font-size: 12px; line-height: 1.1; font-weight: 800; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
    .links-mobile-footer-brand > span { font-size: 9px; font-weight: 400; letter-spacing: .02em; color: #8a9bb3; }
    .links-mobile-footer-socials { display: flex; align-items: center; gap: 5px; }
    .links-mobile-footer-socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #c1d8f019; border-radius: 11px; background: #ffffff04; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
    .links-mobile-footer-socials img { width: 22px; height: 22px; object-fit: contain; filter: none; }
    .links-mobile-footer-socials svg { width: 23px; height: 23px; color: #ff0033; }
    .links-mobile-footer-socials a:hover { border-color: #83dedf66; background: #83dedf0a; transform: translateY(-2px); }
}
@media (max-height: 520px) and (orientation: landscape) {
    .links-mobile-footer { min-height: 49px; padding-block: 6px; }
    .links-mobile-footer-socials a { width: 32px; height: 32px; }
}

@media (max-width:800px) {
  .links-mobile-footer { margin-top:auto; width:100%; position:relative; z-index:1100; }
  .links-mobile-footer a:focus-visible { outline:2px solid #8cebe6; outline-offset:3px; }
  body:has(.links-mobile-footer) .chatbot-container { bottom:calc(76px + env(safe-area-inset-bottom))!important; }
  body.tvr-mobile-footer-standalone { padding-bottom:60px!important; }
  body.tvr-mobile-footer-standalone > .links-mobile-footer { position:fixed; bottom:0; left:0; right:0; }
  body.tvr-mobile-footer-standalone .bas { display:none; }
  body.admin-mobile-embedded .links-mobile-footer { display:none!important; }
  body.tvr-mobile-footer-app { display:flex!important; flex-direction:column!important; height:100dvh!important; }
  body.tvr-mobile-footer-app > #root { height:calc(100% - 60px)!important; min-height:0!important; flex:1 1 0%!important; }
  body.tvr-mobile-footer-app > .links-mobile-footer { flex:0 0 60px; }
  body.tvr-mobile-footer-app .admin-tabs { bottom:calc(68px + env(safe-area-inset-bottom))!important; }
  body.tvr-mobile-footer-app .admin-tab-panel.admin-functional-panel { bottom:calc(142px + env(safe-area-inset-bottom))!important; }
}
@media(prefers-reduced-motion:reduce) { .links-mobile-footer a { transition:none!important; } }
