.profile-panel .modern-form .toggle-row{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:11px!important;min-height:46px;padding:9px 0;cursor:pointer}
.profile-panel .modern-form .toggle-row input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;padding:0!important;margin:0!important;flex:0 0 20px!important;border-radius:4px!important;box-shadow:none!important;accent-color:var(--social-orange,#ffb000)}
.profile-panel .modern-form .toggle-row span{display:block;line-height:1.4}
@media (max-width:720px){
  :root{--mobile-nav-height:82px}
  .social-body{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 14px)!important}
  .site-footer{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 30px)!important}
  .social-header{justify-content:center!important;padding-inline:16px!important}
  .social-header .logo-link{display:flex;align-items:center;justify-content:center;margin:0 auto}
  .social-header .logo-img{width:150px!important;max-width:52vw}
  .profile-summary nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;text-align:center!important}
  .profile-summary nav a{display:flex!important;align-items:center;justify-content:center;min-height:48px;padding:9px 8px!important;border:1px solid #e8dcc8!important;border-radius:12px!important;background:#fff!important;color:#42382d!important;font-size:12px!important;font-weight:850!important;line-height:1.15!important;text-decoration:none!important}
  .profile-summary nav a.active{border-color:var(--social-orange,#ffb000)!important;background:#fff4d5!important}
  .profile-mobile-menu-button{display:none;position:absolute;right:14px;top:50%;transform:translateY(-50%);width:44px;height:44px;padding:10px;border:1px solid rgba(255,176,0,.75);border-radius:13px;background:#fff8e7;z-index:3}
  .profile-mobile-menu-button.is-visible{display:grid;align-content:center;gap:5px}
  .profile-mobile-menu-button span{display:block;width:100%;height:2px;border-radius:2px;background:#33291d}
  .profile-mobile-overlay{display:none;position:fixed;inset:0;z-index:2200}
  .profile-mobile-overlay.is-visible{display:block}
  .profile-mobile-backdrop{position:absolute;inset:0;background:rgba(28,22,15,.48);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
  .profile-mobile-drawer{position:absolute;right:0;top:0;width:min(88vw,370px);height:100%;padding:24px 18px;background:rgba(255,255,255,.97);box-shadow:-18px 0 45px rgba(25,18,10,.22);overflow:auto}
  .profile-mobile-drawer>strong{display:block;padding:8px 50px 18px 4px;font-size:20px}
  .profile-mobile-close{position:absolute;right:16px;top:16px;width:42px;height:42px;border:0;border-radius:12px;background:#fff0ca;color:#4c3920;font-size:30px;line-height:1}
  .profile-mobile-drawer nav{display:grid;grid-template-columns:1fr;gap:9px}
  .profile-mobile-drawer nav a{display:flex;align-items:center;justify-content:center;min-height:50px;padding:10px;border:1px solid #eadfce;border-radius:13px;background:#fff;color:#3d3328;font-weight:850;text-align:center;text-decoration:none}
  .profile-menu-open{overflow:hidden}
  .mobile-tabbar{
    position:fixed;
    z-index:1000;
    left:10px;
    right:10px;
    bottom:calc(8px + env(safe-area-inset-bottom));
    height:var(--mobile-nav-height);
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:stretch;
    justify-content:initial;
    gap:3px;
    padding:7px;
    border:1px solid rgba(255,176,0,.7);
    border-radius:22px;
    background:rgba(255,255,255,.98);
    box-shadow:0 -7px 30px rgba(31,23,12,.16),0 12px 32px rgba(31,23,12,.22);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
  }
  .mobile-tabbar a,.mobile-tabbar form,.mobile-tabbar button{width:100%;height:100%;min-width:0;margin:0}
  .mobile-tabbar a,.mobile-tabbar button{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    padding:4px 2px;
    border:1px solid #e8dfd1;
    border-radius:15px;
    background:#fffaf0;
    color:#5f584f;
    font:800 10px/1.05 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    text-align:center;
    text-decoration:none;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-tabbar a.active{
    background:var(--social-orange,#ffb000);
    color:#1b160e;
    box-shadow:0 7px 18px rgba(255,176,0,.32);
  }
  .mobile-nav-icon{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:10px;
    color:#29231c;
    font-size:24px;
    font-weight:500;
    line-height:1;
  }
  .mobile-tabbar a.active .mobile-nav-icon{background:rgba(255,255,255,.4)}
  .mobile-profile-icon{background:#25211c!important;color:#fff!important;font-size:13px!important;font-weight:950!important}
  .mobile-tabbar button{color:#8a3a32}
}
@media (max-width:370px){
  .mobile-tabbar{left:5px;right:5px;gap:1px;padding:6px 3px}
  .mobile-tabbar a,.mobile-tabbar button{font-size:9px}
  .mobile-nav-icon{width:27px;height:27px;font-size:21px}
}
@media (min-width:721px){.mobile-tabbar{display:none!important}}
@media (min-width:721px){.profile-mobile-menu-button,.profile-mobile-overlay{display:none!important}}
