@media (max-width: 1199px) {
  .ugfx-feature-grid, .ugfx-news-grid, .ugfx-team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ugfx-grid-2, .ugfx-chat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ugfx-display { line-height: 1; }
  .section-pad { padding: 3.5rem 0; }
  .ugfx-feature-grid, .ugfx-news-grid, .ugfx-team-grid, .ugfx-event-grid, .ugfx-stats-row { grid-template-columns: 1fr; }
  .ugfx-playerbar-inner { flex-direction: column; align-items: stretch; }
  .ugfx-player-thumb { width:48px; height:48px; }
  .ugfx-nav .navbar-collapse { margin-top: 1rem; background: rgba(8,8,10,.96); border:1px solid rgba(255,154,31,.12); border-radius: 22px; padding: .8rem; }
}

@media (max-width: 1199px) {
  .ugfx-friends-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ugfx-stack-link, .ugfx-friend-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1199.98px){
  .ugfx-chat-shell{grid-template-columns:1fr}
  .ugfx-chat-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 767.98px){
  .ugfx-chat-sidebar{grid-template-columns:1fr}
  .ugfx-chat-topbar,.ugfx-chat-bubble-head,.ugfx-chat-status-row{display:grid}
  .ugfx-chat-player-actions{grid-template-columns:1fr}
  .ugfx-chat-feed{height:500px;padding:1rem}
  .ugfx-chat-bubble{grid-template-columns:40px minmax(0,1fr)}
  .ugfx-chat-avatar{width:40px;height:40px;border-radius:14px}
  .ugfx-chat-toolbar .ms-auto{margin-left:0!important;width:100%}
}
