/* Single responsive source for the header on every NFTZone page. */
@media (max-width: 1200px) {
  .header-extra-nav { display: none; }
  .header-nav a { padding-inline: 12px; }
  .header-user-dropdown .header-mobile-nav { display: flex; }
}

@media (max-width: 992px) {
  .header-user-name { display: none; }
  .header-actions { gap:5px; }
}

@media (max-width: 768px) {
  .top-nav { position: sticky; top: 0; z-index: 50; min-height: 58px; }
  .global-header-inner { width: var(--public-container-width, calc(100% - 24px)); min-height: 57px; gap: 8px; }
  .brand { gap: 8px; flex-shrink: 0; }
  .brand-logo { width: 34px; height: 34px; border-radius: 8px; }
  .brand-name { font-size: 14px; line-height: 1.2; white-space: nowrap; }
  .brand-sub { display: none; }
  .header-actions { gap: 4px; flex-shrink: 0; }
  .header-user-name { display: none; }
  .theme-toggle-btn { width: 34px; height: 34px; min-width: 34px; }
  .btn.frost-btn.notification-bell { --btn-height:34px; width:34px; height:34px; }
  .notification-link { padding-top:14px; padding-bottom:14px; }
  .notification-toolbar :is(a,button) { min-height:30px; display:inline-flex; align-items:center; }
  .header-nav a { width: 34px; height: 34px; padding: 0; flex-shrink: 0; font-size: 14px; }
  .header-nav-icon { display: inline-block; line-height: 1; }
  .header-nav-label { display: none; }
}

/* Compact Sign In on narrow screens. */
@media (max-width: 560px) {
  .header-sign-in { --header-sign-in-pad-x: 10px; }
}

@media (max-width: 430px) {
  /* Size the sides to their content; keep the capsule centered between them. */
  .global-header-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .brand-name { font-size: 13px; }
}

@media (max-width: 480px) {
  .brand-text { display: none; }
  .global-header-inner { grid-template-columns:auto minmax(0,1fr) auto; }
  .header-actions { gap:3px; }
  .header-user-toggle { padding-inline:2px; }
  .header-user-trigger.header-profile-link { padding-inline:2px; }
}

@media (max-width: 360px) {
  .header-nav { gap: 2px; }
  .header-nav a { width: 30px; }
  .global-header-inner { gap: 6px; }
  .header-actions { gap: 3px; }
  .header-sign-in { --header-sign-in-pad-x: 8px; }
}

@media (max-width: 340px) {
  .header-nav a { width:26px; }
}
