/* LOCAL PATCH stats, «Страж»: пункт «Статистика» в меню (группа «Администратор», только администратор) и кнопка в шапке.
   railfix: группа стоит под «С чего начать»; в шапке — кнопка с подписью на широких экранах, значок на 861–1600 px и на телефоне. */
.nav .st-nav{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;color:var(--ink-2);font-weight:500;text-decoration:none;position:relative;z-index:1;transition:color .2s,background .2s}
.nav .st-nav svg{width:19px;height:19px;flex:none}
.nav .st-nav:hover{color:var(--cobalt);background:var(--cobalt-soft)}
.st-top-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;min-width:40px;padding:0 12px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);color:var(--cobalt);font-weight:600;font-size:14px;text-decoration:none;flex:none;white-space:nowrap;transition:background .2s}
.st-top-link:hover{background:var(--cobalt-soft)}
.st-top-link svg{width:18px;height:18px;flex:none}
@media (max-width:1600px){.st-top-link{padding:0}.st-top-link span{display:none}}
@media (max-width:860px){.st-top-link{width:36px;height:36px;min-width:36px}}
