#main-header {
    position: sticky !important;
    top: 10px !important;
    z-index: 140 !important;
    background: rgba(255,255,255,.94) !important;
    backdrop-filter: blur(12px);
  }
  html { scroll-padding-top: 110px; }
  #user-header-info { gap:.55rem !important; }
  .mv-profile-wrap { position:relative; }
  .mv-profile-trigger {
    min-height: 56px !important;
    padding: .42rem .7rem .42rem .42rem !important;
    border-radius: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: .62rem !important;
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 8px 22px rgba(15,23,42,.06);
    position: relative;
  }
  .mv-profile-trigger.is-student { border-color:#f4d35e !important; }
  .mv-profile-trigger.is-teacher { border-color:#c7d2fe !important; }
  .mv-profile-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    display:grid !important;
    place-items:center !important;
    background: linear-gradient(135deg,#fff7ed,#ffffff) !important;
    border: 1.5px solid #f4d35e !important;
    font-size: 1.45rem !important;
    flex: 0 0 42px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
  }
  .mv-profile-trigger.is-teacher .mv-profile-avatar { border-color:#c7d2fe !important; background:linear-gradient(135deg,#eef2ff,#fff) !important; }
  .mv-profile-usercopy {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    min-width:0;
    text-align:left;
    line-height:1.15;
  }
  .mv-profile-usercopy strong {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:#1e3a5f;
    font-family:'Fredoka',sans-serif;
    font-size:.9rem;
    font-weight:700;
  }
  .mv-profile-usercopy small {
    color:#64748b;
    font-size:.68rem;
    font-weight:800;
    margin-top:.08rem;
  }
  .mv-profile-chevron { color:#94a3b8; font-size:.82rem; margin-left:.05rem; }
  .mv-profile-status-dot { right: .58rem !important; bottom: .45rem !important; }
  .mv-profile-menu { width: 272px !important; padding:.62rem !important; border-radius: 20px !important; }
  .mv-profile-card-head {
    display:flex !important;
    align-items:center !important;
    gap:.78rem !important;
    padding:.78rem !important;
    border-radius:16px !important;
    margin-bottom:.45rem !important;
  }
  .mv-profile-avatar-large { width:48px !important; height:48px !important; flex:0 0 48px !important; }
  .mv-profile-copy { display:flex; flex-direction:column; justify-content:center; min-width:0; }
  .mv-profile-name { font-size:.95rem !important; margin:0 !important; }
  .mv-profile-meta { font-size:.72rem !important; margin-top:.16rem !important; }
  .mv-profile-action { min-height:44px !important; padding:.55rem .62rem !important; gap:.7rem !important; }
  .mv-profile-action span:last-child { line-height:1.2; }
  @media (max-width: 900px) {
    #main-header { top: 8px !important; }
    .mv-profile-usercopy strong { max-width: 84px; font-size:.82rem; }
    .mv-profile-usercopy small { font-size:.62rem; }
  }
  @media (max-width: 640px) {
    .mv-profile-trigger { min-height:48px !important; padding:.3rem .5rem .3rem .3rem !important; }
    .mv-profile-avatar { width:38px !important; height:38px !important; flex-basis:38px !important; font-size:1.28rem !important; }
    .mv-profile-usercopy strong { max-width: 76px; font-size:.78rem; }
    .mv-profile-usercopy small { display:none; }
    .mv-profile-menu { right:0 !important; top: calc(100% + 10px) !important; position:absolute !important; width: min(260px, calc(100vw - 24px)) !important; }
  }
