.notification-preferences { border: 1px solid #333; border-radius: 8px; padding: 16px; margin: 18px 0; }
.notification-preferences legend { padding: 0 8px; font-weight: 600; }
.notification-preferences label { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.notification-preferences input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; accent-color: #ff0055; }
.nav-toggle { display: none; }
.navbar .nav-buttons > a.download { text-decoration: none; letter-spacing: 0; }
@media (max-width: 1180px) and (min-width: 701px) {
  .navbar .nav-dropdown-menu { max-width: calc(100vw - 40px); }
  .navbar .nav-dropdown:last-child .nav-dropdown-menu { left: auto; right: 0; }
}
@media (max-width: 700px) {
  body { padding-top: 78px; }
  .navbar { min-height: 70px; height: auto; padding: 10px 12px; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #222; border: 1px solid #444; border-radius: 6px; color: #fff; font-size: 24px; cursor: pointer; }
  .navbar .site-nav { display: none; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .navbar.menu-open .site-nav { display: flex; }
  .navbar .nav-buttons { gap: 8px; margin-left: auto; max-width: calc(100% - 100px); }
  .navbar .site-nav .nav-list { grid-template-columns: 1fr; }
  .nav-dropdown-menu { position: static; width: 100%; min-width: 0; }
  .hero { min-height: 520px; height: calc(100svh - 78px); }
  .hero-content { max-width: 100%; padding: 20px; }
  .hero-content h1 { font-size: 28px; overflow-wrap: anywhere; }
  .hero-logo { max-width: 180px; }
  .steps-container, .join-cards, .servers-grid, .home-stats { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .steps-container, .join-cards { width: 100%; }
  .steps, .join-community, .servers { padding: 32px 16px; }
  .news-grid { grid-template-columns: 1fr; }
  .profile-wrapper, .forum-wrapper, .topic-container { width: 100%; padding-left: 12px; padding-right: 12px; }
  .profile-card { padding: 18px; min-width: 0; }
  .profile-header-modern, .profile-action-buttons, .topic-moderation { flex-wrap: wrap; }
  .forum-row, .forum-right { flex-wrap: wrap; gap: 12px; }
  .forum-last { text-align: left; min-width: 0; }
  .news-modal-box, .login-box { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
  .post-content, .news-modal-content, .ticket-message { overflow-wrap: anywhere; min-width: 0; }
  .post-content img, .news-modal-content img { max-width: 100%; height: auto; }
  .notification-dropdown { max-width: calc(100vw - 24px); }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
  input, textarea, select { max-width: 100%; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
