.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions > :is(button, a) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 6px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 13px; white-space: nowrap; transition: background-color 220ms var(--ease), color 220ms var(--ease); }
.header-actions > :is(button, a):hover { color: var(--text); background: #ffffff12; }
.header-actions .app-icon { width: 16px; height: 16px; font-size: 14px; line-height: 16px; }
.header-actions > :is(button, a) > :is(span, strong) { line-height: 16px; transform: translateY(-1px); }
.header-membership .app-icon { color: #e5c17d; }
.header-balance strong { font-size: 13px; font-weight: 500; }
.studio-account .app-icon { font-size: 16px; }
.header-messages { position: relative; }
.header-messages b { position: absolute; top: -5px; right: -5px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: #e5534b; color: #fff; font-size: 10px; font-weight: 600; line-height: 15px; text-align: center; }
.header-actions a:focus-visible, .header-actions button:focus-visible { outline: 2px solid #d4d4d4; outline-offset: 4px; }

@media (max-width: 540px) {
  .header-actions { gap: 3px; }
  .header-actions > :is(button, a) { padding-inline: 6px; gap: 4px; font-size: 12px; }
  .header-balance strong { font-size: 12px; }
  .studio-account span { display: none; }
  .header-actions button .app-icon { display: none; }
  .studio-account { width: 32px; }
}
